#include "StdAfx.h"
#include "Model3DS.h"
#include "lib3ds.h"


CModel3DS::CModel3DS(CString filename)
{

	this->file = lib3ds_file_open((LPSTR)(LPCTSTR)filename);
	// If loading the model failed, we throw an exception
	if(!this->file)
	{
		throw strcat("Unable to load ", (LPSTR)(LPCTSTR)filename);
	}
}

CModel3DS::CModel3DS()
{
}
